 <meta http-equiv='Content-Type' content='text/html; charset=UTF-8' />
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib  uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<c:set var="context" value="${pageContext.request.contextPath}" />
<html>
<head>
	<title>Mom Project</title>
	<link rel="stylesheet" type="text/css" href="${context}/resources/css/css.css">
	<link rel="stylesheet" type="text/css" href="${context}/resources/css/smoothness/jquery-ui-1.7.2.custom.css">
	<script type="text/javascript" src="${context}/resources/js/jquery-1.3.2.min.js"></script>
	<script type="text/javascript" src="${context}/resources/js/jquery-ui-1.7.2.custom.min.js"></script>
	<script type="text/javascript">
	$(function(){
		$(".dateInput").datepicker({dateFormat: "yy-mm-dd"});
	});
	</script>
</head>
<body>
	<div id="container">
	
	<div id="header">
			MOM project
	</div>
	<div id="navWrap">
		<div id="navl">
		
			<a href="${context}/admin/number">เลข </a>| 
			<a href="${context}/admin/numberSummary">ดูตารางตัวเลขทั้งหมด </a>
			
			
			| <a href="${context}/admin/bill">โพยตีออก </a>
			|  <a href="${context}/admin/period">งวดตัวเลข</a>
			| <a href="${context}/admin/rule">เงือนไข</a>
			
			<!-- 
			<a href="${context}/admin/report">รายงาน</a> | 
			<a href="${context}/admin/user">ผู้ใช้งาน</a>
			 -->
		</div>
		<div id="navr">
				<sec:authorize ifAllGranted="ROLE_USER">
					  สวัสดีคุณ : <sec:authentication property="principal.username"/> <a href="${context}/logout">LogOut</a>
				</sec:authorize>
		</div>
	</div>
